
<form method="post" action="<{link app=b2c ctl=admin_goods_freight act=save}>" class="tableform" id="tip_edit">
    <{input type='hidden' name='freight_id' value=$freight.freight_id}>
  <table>
    <tbody>
      <tr>
        <th><{t}>相关运费<{/t}></th>
        <td ><{input type="text" required="true" name="freight_explain" id="" size="40" value=$freight.freight_explain }></td>
      </tr>
      <tr>
      <th></th>
      </tr>
      <tr>
      <th></th>
      </tr>
      <tr>
        <th></th>
        <td><{button class="btn btn-primary" type="submit" label="保存"}></td>
      </tr>
    </tbody>
  </table>
</form>
<script type="text/javascript">
(function(){
  $('tip_edit').store('target', {
    onComplete: function(rs){
        rs = JSON.decode(rs);
        if(rs.success)
        $('tip_edit').getParent('.dialog').retrieve('instance').close();
    }
  });

})()
</script>
